/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Factory.DAO;

import Factory.Tables.Inventory;
import java.sql.Date;
import java.util.List;

/**
 *
 * @author Patrick
 */
public abstract class InventoryDAO {
    
    public abstract boolean isMovieQuantityAvailable(int movieID, int quantity); 
    public abstract Inventory findInventoryByMovieID(int movieID); 
    public abstract void updateInventoryQuantity(int movieID,int quantity);
    public abstract void updateInventoryQuantityByInventoryID(int inventoryID,int quantity);
    public abstract void addInventory(Inventory obj);
    public abstract int getQuantity(int movieID);
    public abstract void decreaseQuantity(int movieID);
    public abstract List<Inventory> getAllInventory();
}
